package com.common.message.vo;

public enum MessageType {
    PING(1,"PING"),
    PONG(2,"PONG"),
    CUSTOME(3,"CUSTOME"),
    COMMAND(4,"COMMAND"),
    TCPSERVER_RECEIVE(5,"TCPSERVER_RECEIVE");

    MessageType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private int code;
    private String desc;

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }


}
